//
//  TInputController.h
//  UIKit
//
//  Created by kennethmiao on 2018/9/18.
//  Copyright © 2018年 kennethmiao. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "TTextView.h"
#import "TFaceView.h"
#import "TMenuView.h"
#import "TMoreView.h"
#import "TMessageCell.h"

#import "PSChatSentenceView.h"

@class TInputController;
@protocol TInputControllerDelegate <NSObject>
@optional
- (void)inputController:(TInputController *)inputController didChangeHeight:(CGFloat)height keyBoardShow:(BOOL)isShow;
- (void)inputController:(TInputController *)inputController didSendMessage:(TMessageCellData *)msg;
- (void)inputController:(TInputController *)inputController didSelectMoreAtIndex:(NSInteger)index;

- (void)inputControllerDidChatSentenceViewAdd:(TInputController *)inputController;
- (void)inputControllerDidChatSentenceViewManage:(TInputController *)inputController;
@end

@interface TInputController : BaseViewController

@property (nonatomic, strong) TTextView *textView;
@property (nonatomic, strong) TFaceView *faceView;
@property (nonatomic, strong) TMenuView *menuView;
@property (nonatomic, strong) TMoreView *moreView;

@property (nonatomic, strong) PSChatSentenceView *chatSentenceView;

@property (nonatomic, weak) id<TInputControllerDelegate> delegate;
- (void)reset;

@end
